$color : #bb9c7a;

/*-----logo------*/
body{
    position: relative;
}
#ck_head {
    position: fixed;
    width: 100%;
    height: 120px;
    background: #fff;
    box-shadow: 0px 2px 5px 2px #bbb;
    z-index: 999;
  &_top{
    position: relative;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    #ck_headlogo {
        float: left;
        display: block;
    }
    /*菜单栏*/
    .head_nav {
    float: right;
    display:block;
    // position: relative;
     #head_location{
         position: relative;
         float: right;
        //  margin-top: 10px;
         width:400px;
         height:30px;
         text-align: center;
         line-height: 30px;
        &>form>select{
          position: relative;
          width:110px;
          margin-right:5px;
          height: 20px;
          border-color:$color;
          color: $color;
        //   border-radius: 10px;
          appearance:none;
        //   background: url("http://ourjs.github.io/static/2015/arrow.png") no-repeat scroll right right center transparent;   

        }
        
     }
    }
 }
}
/*--购物车---*/
.shop_body_car{
    width:50px;
    height:100px;
    position: absolute;
    top:400px;
    right:-2%;
    background:$color;
    &>a{
        
        width: 100%;
        height:100%;
        color:#fff;
        font-size: 14px;
        text-align: center;
        &>ul{
            margin-top:8px;
            &>li{
                margin-top:4px;
                &>span{
                    font-size: 12px;
                }    
            }
        }
       
    }
}
.shop_car{
    float: right;
    display: block;
    margin-right:10px;
    color:$color;
    line-height:30px;
    //  margin-top: 6px;
    &>a,span{
        color:$color
    }
}   

/*---登录注册----*/
.head_navtop{
    float: right;
    display: block;
    margin-top:2px;
    position: relative;
    &>span{
        border:1px solid $color;
        display: block;
        float: right;
        height:12px;
        margin:7px 5px 0;
    };
    & .head_already{
        width:200px; 
        & .cancellation{
            cursor: pointer;
        }
    };
        
    
    &>ul{
        float: left;
        position: absolute;
        top: 0;
        right:5px;
        padding-top: 7px;
        width:100px;
        &>li{
            float: left;
            height: 30px;
            color: $color;
            padding: 0 6px;
            margin-left:7px; 
            &>a{
                width:100%;
                color: $color;
                height: 30px;
            }

        }
    }
    .head_already{
        display: none;
    }
}

/*----nav----*/
.head_navbottom{    
    float: left;
    margin-top: 10px;
    margin-left: 50px;
    z-index: 222;
    .head_navbox{
        float: left;
        position: relative;
        height: 40px;
        text-align: center;
        width: 760px;

    &>ul{
        margin: 0 auto;
        height: 100%;
        .on_ac{
            background:$color;
            &>a{
                color: #fff;
            }
          }
        &>li:hover{
            background:$color;
            &>a{
                color: #fff;
            }
        }
        &>li{
        float: left;
        display: block;
        width: 120px;
        height: 40px;
        font-size: 16px;
        border-radius: 20px;
        &>a{
            color: $color;
           line-height: 40px;
        }
        
    }  

    }
}

}

/*--search--*/
.search_box{
    float: left;
    position: relative;
    width: 20px;
    height: 20px;
    margin-top: 20px;
    margin-left: 50px;
    // .search_btn{
    //     position: absolute;
    //     width: 20px;
    //     height: 20px;
    //     bottom: 0px;
    //     left: 0;
    //     background: url(https://1.rc.xiniu.com/rc/Heads/37975/images/h_search.png?d=20171018134012784) no-repeat center;
    //     cursor: pointer; 
    // }
    .search_btn_box{
        position: absolute;
        width: 170px;
        top: -10px;
        right: 0;
        z-index: 22;
        overflow: hidden;
        background-color:#fff;
        border-radius: 25px;
        box-shadow: 0px 0px 3px $color;

        &_ser>input{
            float: left;
            width: 100px;
            height: 30px;
            margin-left: 20px;
            color:$color;
            font-size: 14px;
            line-height: 30px;
            background-color: transparent;
            outline: none;
            border: none;
        }
        &_ser>img{
            background: #fff;
            display: block;
            width: 20px;
            height: 20px;
            margin: 0 auto;
            margin-top: 10px;
            cursor: pointer;

        }
        
    }
}
/*---二维码----*/
.head_weixinbox{
    float: right;
    position: relative;
    width: 28px;
    height: 23px;
    margin-top: 20px;
    margin-left: 40px;
    .weixin_icon{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 20px;
        background: url(https://1.rc.xiniu.com/rc/Heads/37975/images/h_weixin.png?d=20171018134012784) no-repeat center center;
    }
    .show{
        display:none;
    }
    .weixin_QRcode{
        
        position: absolute;
        top: 80px;
        right: -50px;
        width: 106px;
        height: 124px; 
        z-index:23;
        background: #fff;
        &>img{
            width: 84px;
            height: 80px;
            margin-top: 10px;
           
        }
        
        
    }
}
